export default {
	namespaced:true,
	state:()=>({
		address:JSON.parse(uni.getStorageSync('address')||'{}')
	}),
	mutations:{
		updateAddress(state,address){
			state.address=address
			this.commit('my_user/saveStorage')
		},
		saveStorage(state){
			uni.setStorageSync('address',JSON.stringify(state.address))
		}
	},
	getters:{}
}